package com.zwd.cases.demo.gof23.factory.day20221227;

import com.zwd.cases.demo.gof23.factory.day20221226.domain.CheesePizza;
import com.zwd.cases.demo.gof23.factory.day20221226.domain.Pizza;

/**
 * @Description CheesePizza工厂类
 * @Author zhengwd
 * @Date 2022/12/27 13:43
 **/
public class CheesePizzaFactory implements AbsFactory {

    @Override
    public Pizza createPizza() {
        return new CheesePizza();
    }
}
